import request from '@/utils/request'

// 查询个人装备背包列表
export function listGuns_user(query) {
  return request({
    url: '/admin/guns_user/list',
    method: 'get',
    params: query
  })
}

// 查询个人装备背包详细
export function getGuns_user(id) {
  return request({
    url: '/admin/guns_user/' + id,
    method: 'get'
  })
}

// 新增个人装备背包
export function addGuns_user(data) {
  return request({
    url: '/admin/guns_user',
    method: 'post',
    data: data
  })
}

// 修改个人装备背包
export function updateGuns_user(data) {
  return request({
    url: '/admin/guns_user',
    method: 'put',
    data: data
  })
}

// 删除个人装备背包
export function delGuns_user(id) {
  return request({
    url: '/admin/guns_user/' + id,
    method: 'delete'
  })
}

// 导出个人装备背包
export function exportGuns_user(query) {
  return request({
    url: '/admin/guns_user/export',
    method: 'get',
    params: query
  })
}
